package org.fintool.common;


public class Constants {



	public static final String NO_PAGE="No page Found";
	public static final String EXCEPTION="Exception";
	public static final String PIPE_EXPRESSION="\\|";
	public static final String  G_CHANGE_REGEX_POINTS_MARKUP="<span class=\"chg\".*>.*</span>|<span class=\"chr\".*>.*</span>";
	public static final String BASE_FILE_PATH="BASE_FILE_PATH";


	public static final String SYMBOL="SYMBOL";
	public static final String EXCHANGE="EXCHANGE";
	public static final String INTERVAL="INTERVAL";
	public static final String PERIOD="PERIOD";
	public static final String TIMESTAMP="TIMESTAMP";

	public static final String  DEAULT_MODE_OVERRIDE="DEAULT_MODE_OVERRIDE";

	public static final String  MODE="MODE";

	public static final String  PARSE_TYPE="PARSE_TYPE";

	public static final String INTERVAL_DEFAULT_FOR_YEAR="INTERVAL_DEFAULT_FOR_YEAR";
	public static final String INTERVAL_DEFAULT_FOR_SECONDS="INTERVAL_DEFAULT_FOR_SECONDS";

	public static final String URL_TEMPLATED_STRING="URL_TEMPLATED_STRING";

	public static final String TEMPLATE_CONSTANT_="TEMPLATE_CONSTANT_";

	public static final String TEMPLATE_CONSTANT_MAX="TEMPLATE_CONSTANT_MAX";

	public static final String MAX_YEARS="MAX_YEARS";

	public static final String MAX_DAYS="MAX_DAYS";

	public static final String FOLDER_DAY="d";

	public static final String FOLDER_TRANSFORM="trans";

	public static final String GFINANCE_LINEREGEX=".*,.*,.*,.*,.*,.*" ;
	public static final String GFINANCE_COLUMN_HEADER="COLUMNS=DATE,CLOSE,HIGH,LOW,OPEN,VOLUME";

	public static final String FILE_NEWCONTENT_SEPERATOR="[UPDATE_LINE]";


	public static final String FIN_EXTENSION=".fin";



	 //Test main

    public static void main(String[] args) {
    	String strLine="a1301374800,38.52,38.78,38.37,38.78,3574566.";
    	//String strLine="apple";

    	if(strLine.matches(GFINANCE_LINEREGEX)){
    		System.out.println("matches");

    	}else{
    		System.out.println("no matches");
    	}


	}



}
